package com.zzyl.service;

import com.zzyl.dto.ResourceDto;
import com.zzyl.entity.Resource;
import com.zzyl.vo.ResourceVo;
import com.zzyl.vo.TreeVo;

import java.util.List;

public interface ResourceService {

    List<ResourceVo> getList(ResourceDto resourceDto);

    TreeVo getTree(ResourceDto resourceDto);

    void insertResource(ResourceDto resourceDto);

    void update(ResourceDto resourceDto);

    void updateState(ResourceDto resourceDto);

    List<Resource> deleteByResourceId(String menuId);
}
